import request from '@/utils/request'



// 分页查询检查项目
export function listRexpense(query) {
  return request({
    url: '/system/rexpense/getList',
    method: 'get',
    params: query
  })
}




// 新增用户
export function addRexpense(data) {
  return request({
    url: '/system/rexpense/add',
    method: 'post',
    data: data
  })
}

// 查询指定用户详细信息
export function getReById(srId) {
  return request({
    url: '/system/rexpense/getReById/' + srId,
    method: 'get'
  })
}

// 修改用户
export function updateRexpense(data) {
  return request({
    url: '/system/rexpense/update',
    method: 'put',
    data: data
  })
}

// 删除用户
export function delRexpense(srIds) {
  return request({
    url: '/system/rexpense/remove/' + srIds,
    method: 'delete'
  })
}








